package com.lxmes.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 库存计算规则对象 cc_stock_info_js
 * 
 * @author 张志煜
 * @date 2023-01-10
 */
public class CcStockInfoJs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 原材料编号 */
    @Excel(name = "原材料编号")
    private String itemId;

    /** 原材料名称 */
    @Excel(name = "原材料名称")
    private String itemName;

    /** 原材料规格 */
    @Excel(name = "原材料规格")
    private String spec;

    /** 原库存重量 */
    @Excel(name = "原库存重量")
    private BigDecimal ykcWeight;

    @Excel(name = "原材料氧化重量")
    private BigDecimal yclyhWeight;

    /** 原材料单位 */
    @Excel(name = "原材料单位")
    private String unit;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 料块编码 */
    @Excel(name = "料块编码")
    private String lkItemId;

    /** 料块名称 */
    @Excel(name = "料块名称")
    private String lkItemName;

    /** 成品单重 */
    @Excel(name = "成品单重")
    private BigDecimal cpdWeight;

    /** 机加切削废料重量 */
    @Excel(name = "机加切削废料重量")
    private BigDecimal jjqxflWeight;

    /** 机加钻孔废料重量 */
    @Excel(name = "机加钻孔废料重量")
    private BigDecimal jjzkflWeight;

    /** 锻打废料重量 */
    @Excel(name = "锻打废料重量")
    private BigDecimal ddflWeight;

    /** 切割废料重量 */
    @Excel(name = "切割废料重量")
    private BigDecimal qgflWeight;

    /** 料块单重 */
    @Excel(name = "料块单重")
    private BigDecimal lkdWeight;

    /** 料块报工数量 */
    @Excel(name = "料块报工数量")
    private BigDecimal lkbgNum;

    /** 报工重量 */
    @Excel(name = "报工重量")
    private BigDecimal lkbgWeight;

    /** 现库存重量 */
    @Excel(name = "现库存重量")
    private BigDecimal kcWeight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setYkcWeight(BigDecimal ykcWeight) 
    {
        this.ykcWeight = ykcWeight;
    }

    public BigDecimal getYkcWeight() 
    {
        return ykcWeight;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setLkItemId(String lkItemId) 
    {
        this.lkItemId = lkItemId;
    }

    public String getLkItemId() 
    {
        return lkItemId;
    }
    public void setLkItemName(String lkItemName) 
    {
        this.lkItemName = lkItemName;
    }

    public String getLkItemName() 
    {
        return lkItemName;
    }
    public void setCpdWeight(BigDecimal cpdWeight) 
    {
        this.cpdWeight = cpdWeight;
    }

    public BigDecimal getCpdWeight() 
    {
        return cpdWeight;
    }
    public void setJjqxflWeight(BigDecimal jjqxflWeight) 
    {
        this.jjqxflWeight = jjqxflWeight;
    }

    public BigDecimal getJjqxflWeight() 
    {
        return jjqxflWeight;
    }
    public void setJjzkflWeight(BigDecimal jjzkflWeight) 
    {
        this.jjzkflWeight = jjzkflWeight;
    }

    public BigDecimal getJjzkflWeight() 
    {
        return jjzkflWeight;
    }
    public void setDdflWeight(BigDecimal ddflWeight) 
    {
        this.ddflWeight = ddflWeight;
    }

    public BigDecimal getDdflWeight() 
    {
        return ddflWeight;
    }
    public void setQgflWeight(BigDecimal qgflWeight) 
    {
        this.qgflWeight = qgflWeight;
    }

    public BigDecimal getQgflWeight() 
    {
        return qgflWeight;
    }
    public void setLkdWeight(BigDecimal lkdWeight) 
    {
        this.lkdWeight = lkdWeight;
    }

    public BigDecimal getLkdWeight() 
    {
        return lkdWeight;
    }
    public void setLkbgNum(BigDecimal lkbgNum) 
    {
        this.lkbgNum = lkbgNum;
    }

    public BigDecimal getLkbgNum() 
    {
        return lkbgNum;
    }
    public void setLkbgWeight(BigDecimal lkbgWeight) 
    {
        this.lkbgWeight = lkbgWeight;
    }

    public BigDecimal getLkbgWeight() 
    {
        return lkbgWeight;
    }
    public void setKcWeight(BigDecimal kcWeight) 
    {
        this.kcWeight = kcWeight;
    }

    public BigDecimal getKcWeight() 
    {
        return kcWeight;
    }

    public BigDecimal getYclyhWeight() {
        return yclyhWeight;
    }

    public void setYclyhWeight(BigDecimal yclyhWeight) {
        this.yclyhWeight = yclyhWeight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("spec", getSpec())
            .append("ykcWeight", getYkcWeight())
            .append("unit", getUnit())
            .append("orderNo", getOrderNo())
            .append("lkItemId", getLkItemId())
            .append("lkItemName", getLkItemName())
            .append("cpdWeight", getCpdWeight())
            .append("jjqxflWeight", getJjqxflWeight())
            .append("jjzkflWeight", getJjzkflWeight())
            .append("ddflWeight", getDdflWeight())
            .append("qgflWeight", getQgflWeight())
            .append("lkdWeight", getLkdWeight())
            .append("lkbgNum", getLkbgNum())
            .append("lkbgWeight", getLkbgWeight())
            .append("kcWeight", getKcWeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
